﻿using System.ComponentModel;

namespace DataModels.Enums.ShoppingMall
{
    public enum ShoppingMallOrderStatus
    {
        /// <summary>
        /// 待支付
        /// </summary>
        [Description("待支付")]
        PendingPayment = 0,

        /// <summary>
        /// 已支付
        /// </summary>
        [Description("已支付")]
        Paid = 1,

        /// <summary>
        /// 已完成
        /// </summary>
        [Description("已完成")]
        Completed = 2,

        /// <summary>
        /// 已取消
        /// </summary>
        [Description("已取消")]
        Cancelled = 3,

        /// <summary>
        /// 已退款
        /// </summary>
        [Description("已退款")]
        Refunded = 6,

        /// <summary>
        /// 已评论
        /// </summary>
        [Description("已评论")]
        IsComment = 9
    }
    /// <summary>
    /// 拼团参与者状态
    /// </summary>
    public enum GroupParticipantStatus
    {
        /// <summary>
        /// 待支付（已加入拼团但未完成支付）
        /// </summary>
        [Description("待支付")]
        PendingPayment = 0,

        /// <summary>
        /// 已支付（已完成支付，等待成团）
        /// </summary>
        [Description("已支付")]
        Paid = 1,

        /// <summary>
        /// 已成团（所在拼团组已达到成团人数）
        /// </summary>
        [Description("已成团")]
        GroupSuccess = 2,

        /// <summary>
        /// 拼团失败（所在拼团组未在规定时间内达到成团人数）
        /// </summary>
        [Description("拼团失败")]
        GroupFailed = 3,

        /// <summary>
        /// 已取消（用户主动取消参与）
        /// </summary>
        [Description("已取消")]
        Cancelled = 4,

        /// <summary>
        /// 已退款（因拼团失败或其他原因已退款）
        /// </summary>
        [Description("已退款")]
        Refunded = 5,

        /// <summary>
        /// 已完成（订单已完成，拼团流程结束）
        /// </summary>
        [Description("已完成")]
        Completed = 6
    }
    public enum ShoppingMallOrderStarRating
    {
        /// <summary>
        /// 1星（非常不满意）
        /// </summary>
        [Description("1星（非常不满意）")]
        OneStar = 1,

        /// <summary>
        /// 2星（不满意）
        /// </summary>
        [Description("2星（不满意）")]
        TwoStars = 2,

        /// <summary>
        /// 3星（一般）
        /// </summary>
        [Description("3星（一般）")]
        ThreeStars = 3,

        /// <summary>
        /// 4星（满意）
        /// </summary>
        [Description("4星（满意）")]
        FourStars = 4,

        /// <summary>
        /// 5星（非常满意）
        /// </summary>
        [Description("5星（非常满意）")]
        FiveStars = 5
    }

}
